package com.mondo.financialwallet.data.entity;

public class BasisResponseEntity {

    // mock测试：成功响应
    public static BasisResponseEntity success(){
        BasisResponseEntity response = new BasisResponseEntity();
        response.setStatus("success");
        return response;
    }


    /**
     * status : success
     * msg :
     * data : {"code":"0","error":"","msgid":"1040680389586456576"}
     * code : 0
     */

    private String status;
    private String msg;
    private int code;

    public boolean isSuccess(){
        return "success".equals(status);
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
